package xyz.dava.sync.fm.util;

import org.apache.shiro.crypto.hash.SimpleHash;

public class PasswordUtil {
    public static String encode(String password,String salt){
        SimpleHash simpleHash = new SimpleHash("MD5", password, salt, 2);
        return simpleHash.toString();
    }
}
